package com.wz.device.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qiqi
 * @since 2021-10-22
 */
@Entity
@Table(name = "bas_device")
public class BasDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "device_id")
    private String device_id;

    @Column(name = "device_name")
    private String device_name;

    @Column(name = "device_type")
    private String device_type;

    @Column(name = "locked")
    private String locked;

    @Column(name = "maintenance_cycle")
    private String maintenance_cycle;

    @Column(name = "maintenance_range")
    private String maintenance_range;

    public String getDevice_id() {
        return device_id;
    }

    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }

    public String getDevice_name() {
        return device_name;
    }

    public void setDevice_name(String device_name) {
        this.device_name = device_name;
    }

    public String getDevice_type() {
        return device_type;
    }

    public void setDevice_type(String device_type) {
        this.device_type = device_type;
    }

    public String getLocked() {
        return locked;
    }

    public void setLocked(String locked) {
        this.locked = locked;
    }

    public String getMaintenance_cycle() {
        return maintenance_cycle;
    }

    public void setMaintenance_cycle(String maintenance_cycle) {
        this.maintenance_cycle = maintenance_cycle;
    }

    public String getMaintenance_range() {
        return maintenance_range;
    }

    public void setMaintenance_range(String maintenance_range) {
        this.maintenance_range = maintenance_range;
    }

    @Override
    public String toString() {
        return "BasDevice{" +
                "device_id='" + device_id + '\'' +
                ", device_name='" + device_name + '\'' +
                ", device_type='" + device_type + '\'' +
                ", locked='" + locked + '\'' +
                ", maintenance_cycle='" + maintenance_cycle + '\'' +
                ", maintenance_range='" + maintenance_range + '\'' +
                '}';
    }
}
